package org.lds.scheduled.job.sample.test;

import lombok.extern.slf4j.Slf4j;
import org.lds.scheduled.job.client.IScheduledJob;
import org.lds.scheduled.job.client.ScheduledJob;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class HelloWorldWithTriggerRuleJob implements IScheduledJob {

    @ScheduledJob(key = "HelloWorldWithTriggerRuleJob",
            triggerRuleType = 1,
            triggerRuleContent = "10")
    public void helloWorldWithTriggerRule() {
        log.info("test:HelloWorldWithTriggerRuleJob");
    }
}
